Remove duplicated ${DESTDIR}.
authorOGINO Masanori <masanori.ogino@gmail.com>
Tue, 29 Jul 2014 14:24:35 +0000 (23:24 +0900)
committerOGINO Masanori <masanori.ogino@gmail.com>
Tue, 29 Jul 2014 14:32:00 +0000 (23:32 +0900)
Both Makefile.in and install.sh prepended ${DESTDIR} to ${PREFIX} so the
installation prefix became ${DESTDIR}/${DESTDIR}/${PREFIX}.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Makefile.in

index dfb599da5b7c6ded38d59562ac0917d1c4abfd92..bb3d5084a9bdfd02ee842f187504b94cbba61bda 100644 (file)
@@ -118,8 +118,8 @@ $$(PKGDIR_$(1))/lib/cargo/manifest.in: all
 
 install-$(1): $$(PKGDIR_$(1))/lib/cargo/manifest.in
        $$(PKGDIR_$(1))/install.sh \
-               --prefix="$$(DESTDIR)$$(CFG_PREFIX)" \
-               --destdir="$$(DESTDIR)" $$(MAYBE_DISABLE_VERIFY)
+               --prefix="$$(CFG_PREFIX)" \
+               --destdir="$$(DESTDIR)/" $$(MAYBE_DISABLE_VERIFY)
 endef
 $(foreach target,$(CFG_TARGET),$(eval $(call DO_DIST_TARGET,$(target))))